var runtime.mutexprofilerate
8 uses
runtime (current package)
mprof.go#L686: rate := int64(atomic.Load64(&mutexprofilerate))
mprof.go#L839: rate := int64(atomic.Load64(&mutexprofilerate))
mprof.go#L877: var mutexprofilerate uint64 // fraction sampled
mprof.go#L888: return int(mutexprofilerate)
mprof.go#L890: old := mutexprofilerate
mprof.go#L891: atomic.Store64(&mutexprofilerate, uint64(rate))
mprof.go#L900: rate := int64(atomic.Load64(&mutexprofilerate))
sema.go#L159: if profile&semaMutexProfile != 0 && mutexprofilerate > 0 {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |